<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/my97.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/validate.jsp" />
<script type="text/javascript">
	function query() {
		$("#form1").submit();
	}
	function myChk() {
		var start_time = $("input[name='srh_start']").val();
		if (start_time.length == 0) {
			$("#form1").validate({
				rules : {
					'srh_end' : {
						required : true
					}
				}
			});
		}
	}
</script>
</head>
<body>
	<div>
		<form action="${path}/ix/useapply/search/uper/search_pro_list.htm" id="form1"
			method="post">
			<input name='apply_id' type="hidden" />
			<h2>
				<div>复审历史</div>
			</h2>
			<div class="query">
				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="5">
					<tr>
						<td width="80" align="right"><strong>查询人员：</strong></td>
						<td width="200" align="left"><input name="srh_user"
							type="text" /></td>
						<td width="80" align="right"><strong>查询时间：</strong></td>
						<td width="150" align="left"><input name="srh_start"
							value="${srh_start }" onBlur="myChk()" readonly="readonly"
							type="text" maxlength="20"
							onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate" /></td>
						<td width="5" align="right">-</td>
						<td width="150" align="left"><input name="srh_end"
							value="${srh_end }" readonly="readonly" type="text"
							maxlength="20" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
							class="Wdate" /></td>
						<td width="80" align="right"><strong>查询内容：</strong></td>
						<td width="200" align="left"><input name="srh_content"
							type="text" /></td>
						<td align="left"><a href="javascript:query();"> <img
								src="${path}/style_cp/img/query.jpg" name="Image4" width="85"
								height="27" border="0" id="Image4" />
						</a></td>
					</tr>
				</table>
			</div>
			<table width="100%" class="listlindex">
				<tr>
					<th>用印事由</th>
					<th>用印编号</th>
					<th>审查人员</th>
					<th>审查时间</th>
					<th>审查描述</th>
					<th>审查结果</th>
				</tr>
				<c:if test="${fn:length(list)==0}">
					<tr>
						<td colspan="6"><div class="tip_div">暂无记录.</div></td>
					</tr>
				</c:if>
				<c:forEach items="${list}" var="v">
					<tr>
						<td>${v.reason}</td>
						<td>${v.name}(${v.true_code})</td>
						<td>${v.uname}</td>
						<td>${v.search_time}</td>
						<td>${v.search_content}</td>
						<td>${v.search_result}</td>
					</tr>
				</c:forEach>
			</table>
			<div id="response"></div>
			<div class="options">
				<div class="quotes">
					<page:page page="${page}" />
				</div>
				<div class="clear"></div>
			</div>
		</form>
</body>
</html>